'use strict';
define(function(require, exports, module){
	var myApp =  angular.module('myApp', [], function ($compileProvider, $controllerProvider) {
		require('angular-route');
        
        routeConfig.setCompileProvider($compileProvider);
        routeConfig.setControllerProvider($controllerProvider);
        app.config(function ($routeProvider) {
            $routeProvider.when('/', routeConfig.config('./views/index.html', './js/controllers/IndexController'));
            $routeProvider.otherwise({redirectTo:'/'});
        });
    });
});